#ifndef LOGIN_H
#define LOGIN_H

#include "stackwidget.h"
#include "titlebar.h"
#include "titlebarfix.h"

#include <QDialog>

namespace Ui {
class login;
}

class login : public QDialog
{
    Q_OBJECT

public:
    static QString Qname;
    explicit login(QWidget *parent = 0);
    ~login();
    bool autoLoginFlag;
    bool rememberPasswordFlag;
    void savecfg();
    void readcfg();
    void autoLoginByButton();

private slots:
    void on_pushButton_ok_clicked();
    void on_pushButton_cacel_clicked();

    void on_label_foget_password_clicked();

signals:
    void sendsignal();
private:
    Ui::login *ui;

};

#endif // LOGIN_H
